package com.ruoyi.eam.service;

import java.util.List;
import com.ruoyi.eam.doman.EamLoanbackH;

/**
 * 借用归还Service接口
 *
 * @author xl
 * @date 2024-07-08
 */
public interface IEamLoanbackHService
{
    /**
     * 查询借用归还
     *
     * @param loanBackId 借用归还主键
     * @return 借用归还
     */
    public EamLoanbackH selectEamLoanbackHByLoanBackId(Long loanBackId);

    /**
     * 查询借用归还列表
     *
     * @param eamLoanbackH 借用归还
     * @return 借用归还集合
     */
    public List<EamLoanbackH> selectEamLoanbackHList(EamLoanbackH eamLoanbackH);

    /**
     * 新增借用归还
     *
     * @param eamLoanbackH 借用归还
     * @return 结果
     */
    public int insertEamLoanbackH(EamLoanbackH eamLoanbackH);

    /**
     * 修改借用归还
     *
     * @param eamLoanbackH 借用归还
     * @return 结果
     */
    public int updateEamLoanbackH(EamLoanbackH eamLoanbackH);

    /**
     * 批量删除借用归还
     *
     * @param loanBackIds 需要删除的借用归还主键集合
     * @return 结果
     */
    public int deleteEamLoanbackHByLoanBackIds(Long[] loanBackIds);

    /**
     * 删除借用归还信息
     *
     * @param loanBackId 借用归还主键
     * @return 结果
     */
    public int deleteEamLoanbackHByLoanBackId(EamLoanbackH eamLoanbackH);
}
